package com.hqj.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/pc")
public class ProviderController {

    @RequestMapping("/getInfo")
    public String getInfo() throws InterruptedException {
        if(1==2){
            throw new RuntimeException("运行异常");
        }
        Thread.sleep(2000);
        return "测试8003";
    }

}
